home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Views / Canvas Loops / InvalidCanvasLoop.h < prev    next >
Text File  |  2000-06-23  |  601b  |  34 lines

  1. // InvalidCanvasLoop.h
  2.  
  3. #ifndef InvalidCanvasLoop_h
  4. #define InvalidCanvasLoop_h
  5.  
  6. #ifndef CanvasMaintainer_h
  7. #include "CanvasMaintainer.h"
  8. #endif
  9. #ifndef CanvasLoopBase_h
  10. #include "CanvasLoopBase.h"
  11. #endif
  12.  
  13. class InvalidCanvasLoop: private CanvasLoopBase
  14.   {
  15.     private:
  16.         CanvasMaintainer canvasMaintainer;
  17.         
  18.         void AdvanceToInvalid();
  19.         
  20.     public:
  21.         InvalidCanvasLoop( const DrawsSpontaneously& );
  22.         
  23.         CanvasLoopBase::Finished;
  24.         CanvasLoopBase::Unfinished;
  25.         
  26.         void operator++();
  27.         void operator++(int)                        { operator++(); }
  28.  
  29.         CanvasLoopBase::operator*;
  30.         CanvasLoopBase::operator->;
  31.   };
  32.  
  33. #endif
  34.